gtkgesture: Refactor n-points querying into a single function
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 9 Jul 2015 17:11:04 +0000 (19:11 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 12 Aug 2015 21:20:25 +0000 (23:20 +0200)
commit67ae7322e9569d106328ddab39296ffc9f64961a
treeaef64ef53c701a4eda22b2a53290a796d152c5f6
parent97e67e21a1e21215f1191a5be1f2fb102fb2d6a0
gtkgesture: Refactor n-points querying into a single function

Along the code, we're basically asking for 1) the total count of
touchpoints, and 2) the number of active touchpoints (not denied
nor ended).

Wrap both usecases into a _gtk_gesture_get_n_physical_touchpoints(),
and replace all occurrences.
gtk/gtkgesture.c